package com.major.hash;

import java.util.HashMap;

public class AboutHashMap {
    public static void main(String[] args) {
        HashMap<Integer,String> hm = new HashMap<>();
        hm.put(1,"one");
        System.out.println(hm);
        System.out.println(hm.put(2,"two"));
        System.out.println(hm.size());
        System.out.println(hm);
    }
}
